package com.suirich.dao;

import java.util.List;

import com.suirich.bean.Product;
import com.suirich.common.Page;


public interface ProductDao extends GenericDao<Product, Long>{
    
    List<Product> getProductList(Page page);
    
    Long getProductListCount();

    List<Product> getProductListByCondition(String newRelease,List<Long> categories,Page page);
    
    Long getProductListByConditionCount(String newRelease,List<Long> categories);
    
    void deleteProductsByCategoryId(Long categoryId);
}
